package com.ruoyi.warning.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author chenhc
 * @since 2025-04-07
 */
@Getter
@Setter
@TableName("links")
public class Links implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer localPortId;

    private Integer localDeviceId;

    private Integer remotePortId;

    private Boolean active;

    private String protocol;

    private String remoteHostname;

    private Integer remoteDeviceId;

    private String remotePort;

    private String remotePlatform;

    private String remoteVersion;

    @ApiModelProperty("是否手动默认0自动1手动")
    private String manual;

    @ApiModelProperty("是否是关键链路0否1是")
    private Integer isCritical;

    @ApiModelProperty("名称")
    private String sysname;

    @ApiModelProperty("画板id")
    private Integer boardId;

    @ApiModelProperty("警戒线，默认80")
    private Integer warningLine = 80;
}
